home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
10828
/
10828.xpi
/
chrome
/
content
/
options-tabs.xul
< prev
next >
Wrap
Extensible Markup Language
|
2010-02-10
|
11KB
|
249 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<?xml-stylesheet href="chrome://newtabking/skin/ntkoverlay.css" type="text/css"?>
<!DOCTYPE prefwindow SYSTEM "chrome://newtabking/locale/newtabking.dtd">
<prefwindow title="&options.window.label;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
ondialogaccept="savePrefs();"
ondialogcancel="window.close();"
buttons="accept, cancel">
<prefpane id="tabgeneral" label="&tab.label.general;" onpaneload="newtabkingPrefwindowButtons();">
<preferences/>
<groupbox>
<checkbox label="&checkbox.autofocus;" id="autoFocus-Pref"/>
<checkbox label="&checkbox.homepage;" id="loadInNewWindow-Pref"/>
<checkbox label="&checkbox.newtab;" id="loadInNewTab-Pref"/>
<checkbox label="&checkbox.openinnewtab;" id="mostUsedinNewTab-Pref"/>
<checkbox label="&checkbox.toolbar;" id="ntkToolbar-pref"/>
<checkbox label="&checkbox.statusbar;" id="ntkStatusbar-pref"/>
<checkbox label="&checkbox.showtips;" id="ntkTip-pref"/>
<checkbox label="&checkbox.clipboardurl;" id="ntkClipboard-pref"/>
<checkbox label="&checkbox.showthemes;" id="themes-pref"/>
<checkbox label="&checkbox.showsharing;" id="sharing-pref"/>
<checkbox label="&checkbox.showheader;" id="ntkHeaderSearch-pref"/>
<checkbox label="&checkbox.optimizeperf;" id="ntkTabPerfOn-pref"/>
<separator/>
<grid flex="1">
<columns>
<column/>
<column/>
</columns>
<rows>
<row align="center">
<label value="&label.searchengine;"/>
<menulist id="NTKSearchEngine-pref" value="4">
<menupopup>
<menuitem label="Ask" value="0"/>
<menuitem label="Bing" value="1"/>
<menuitem label="Google.com" value="2"/>
<menuitem label="New Tab King (powered by Google)" selected="true" value="3"/>
<menuitem label="Wikipedia" value="4"/>
<menuitem label="Yahoo" value="5"/>
<menuitem label="Google.co.uk" value="6"/>
<menuitem label="Google.es" value="7"/>
<menuitem label="Google.fr" value="8"/>
<menuitem label="Google.de" value="9"/>
<menuitem label="Google.it" value="10"/>
<menuitem label="Google.ru" value="11"/>
<menuitem label="Google.com.br" value="12"/>
<menuitem label="Baidu" value="13"/>
<menuitem label="Yandex" value="14"/>
<menuitem label="Kvasir" value="15"/>
<menuitem label="Google.no" value="16"/>
<menuitem label="Google.co.nz" value="17"/>
<menuitem label="Google.com.au" value="18"/>
<menuitem label="Search.com" value="19"/>
<menuitem label="Swagbucks.com" value="20"/>
<menuitem label="Google.at" value="21"/>
</menupopup>
</menulist>
</row>
<row align="center">
<label value="&label.pagetitle;"/>
<textbox id="ntkTitleStr-Pref"/>
</row>
<row align="center">
<label value="&label.tabtitle;"/>
<textbox id="ntkTitleTabStr-Pref"/>
</row>
</rows>
</grid>
</groupbox>
<separator height="20"/>
</prefpane>
<prefpane id="tabsearchshortcuts" label="&tab.label.shortcuts1;" onpaneload="newtabkingPrefwindowButtons();">
<preferences/>
<groupbox>
<caption label="&tab.label.shortcuts1;"/>
<hbox id="searchshortcutsdesc">
<label width="525px">&label.searhcshortcutsexp;</label>
</hbox>
<label value="&label.searchshortcutsexp2;"/>
<separator/>
<tree id="searchShortcutsList" flex="1" rows="10" hidecolumnpicker="true" enableColumnDrag="true">
<treecols>
<treecol id="searchShortcutNameCol" label="&label.shortcut;" width="100"/>
<splitter class="tree-splitter"/>
<treecol id="searchShortcutPathCol" flex="1" label="&label.desturl;"/>
</treecols>
<treechildren id="searchShortcutsListChildren"/>
</tree>
<separator class="thin"/>
<hbox pack="end">
<button id="searchRemoveShortcutsID" label="&label.removeselectedshortcutsbtn;" oncommand="removeSelectedFromTree('searchShortcutsList')"/>
</hbox>
<grid flex="1">
<columns>
<column flex="1"/>
<column flex="5"/>
</columns>
<rows>
<row>
<label value="&label.shortcut;"></label>
<label value="&label.desturl;"></label>
</row>
<row>
<textbox id="x2-Pref"/>
<textbox id="x1-Pref"/>
<button id="searchShortcutAddBtn" label="&label.addshortcutbtn;" oncommand="AddSearchShortcutBtn()"/>
</row>
</rows>
</grid>
</groupbox>
<separator height="20"/>
</prefpane>
<prefpane id="tabshortcuts" label="&tab.label.shortcuts2;" onpaneload="newtabkingPrefwindowButtons();">
<preferences/>
<groupbox>
<caption label="&tab.label.shortcuts2;"/>
<checkbox label="&label.enableshortcuts;" id="enableShortcuts-Pref" oncommand="enableShortcuts();"/>
<separator class="thin"/>
<tree id="shortcutsList" flex="1" rows="10" hidecolumnpicker="true" enableColumnDrag="true">
<treecols>
<treecol id="shortcutNameCol" flex="1" label="&label.shortcut;"/>
<splitter class="tree-splitter"/>
<treecol id="shortcutPathCol" flex="2" label="&label.path;"/>
<splitter class="tree-splitter"/>
<treecol id="shortcutIconCol" flex="1" label="&label.icon;"/>
</treecols>
<treechildren id="shortcutsListChildren">
</treechildren>
</tree>
<separator class="thin"/>
<hbox>
<button id="moveDown" label="&label.movedownbtn;" oncommand="moveDown('shortcutsList')"/>
<button id="moveUp" label="&label.moveupbtn;" oncommand="moveUp('shortcutsList')"/>
<spacer flex="1"/>
<button id="removeShortcutsID" label="&label.removeselectedshortcutsbtn;" oncommand="removeSelectedFromTree('shortcutsList')"/>
</hbox>
<separator class="thin"/>
<groupbox>
<grid>
<columns>
<column width="110"/>
<column flex="2"/>
<column/>
<column flex="2"/>
</columns>
<rows>
<row>
<label value="&label.shortcut;"></label>
<label value="&label.newshortcutpathfield;"></label>
<spacer/>
<label value="&label.newshortcuticonfield;"></label>
</row>
<row align="center">
<textbox id="addShortcutName-Pref"/>
<textbox id="addShortcutPath-Pref"/>
<button id="shortcutPathBtnID" label="..." tooltiptext="&label.newshortcutpathfield.browse;" style="min-width:1.5em" oncommand="browseLoc('addShortcutPath-Pref', false, false)"/>
<textbox id="addShortcutIcon-Pref" readonly="true"/>
<button id="shortcutIconPathBtnID" label="..." tooltiptext="&label.newshortcuticonfield.browse;" style="min-width:1.5em" oncommand="browseLoc('addShortcutIcon-Pref', false, true)"/>
</row>
</rows>
</grid>
<separator class="thin"/>
<hbox pack="center">
<button id="shortcutAddBtn" label="&label.addshortcutbtn;" oncommand="addShortcutBtn()"/>
</hbox>
</groupbox>
</groupbox>
</prefpane>
<prefpane id="tabmostusedsites" label="&tab.label.mostusedsites;" onpaneload="newtabkingPrefwindowButtons();">
<preferences/>
<groupbox>
<caption label="&label.mostusedsites.desc;"/>
<hbox align="center">
<label value="&label.mostused.max;"></label>
<textbox id="maxMostUsed-Pref" type="number" min="1" size="3" max="999"/>
</hbox>
<label value="&label.mostused.excludedesc;"></label>
<listbox flex="1" id="blacklist-Pref" seltype="multiple"/>
<separator class="thin"/>
<hbox pack="end">
<button label="&label.websites.remove;" oncommand="removeSelectedFromList('blacklist-Pref');"/>
</hbox>
</groupbox>
</prefpane>
<prefpane id="tabrecenttabs" label="&tab.label.recenttabs;" onpaneload="newtabkingPrefwindowButtons();">
<groupbox>
<caption label="&label.recenttabs;"/>
<hbox align="center">
<label value="&label.recentlyclosedtabs.desc;"></label>
<textbox id="maxRecentlyClosedTabs-Pref" type="number" min="0" size="2" max="50"/>
</hbox>
<label value="&label.recentlyclosedtabs.excludedesc;"></label>
<listbox id="blacklistTabs-Pref" flex="1" seltype="multiple">
</listbox>
<separator class="thin"/>
<hbox pack="end">
<button label="&label.websites.remove;" oncommand="removeSelectedFromList('blacklistTabs-Pref');"/>
</hbox>
</groupbox>
</prefpane>
<prefpane id="tabsitesyouwilllove" label="&tab.label.miscs;" onpaneload="newtabkingPrefwindowButtons();">
<preferences/>
<groupbox>
<caption label="&label.sitesyouwilllove;"/>
<label>&label.sitesyouwilllove.desc1;</label>
<label>&label.sitesyouwilllove.desc2;</label>
<checkbox id="enableSuggested-Pref" label="&label.sitesyouwilllove.checkboxdesc;"/>
</groupbox>
<groupbox>
<caption label="&label.background;"/>
<checkbox label="&label.background.enabledesc;" id="enableBackground-Pref" oncommand="enableBackground();"/>
<hbox align="center">
<label value="&label.background.path;"></label>
<textbox id="backgroundPath-Pref" readonly="true" flex="1"/>
<button id="backgroundBrowseButton" label="&label.background.browsebtn;" oncommand="browseLoc('backgroundPath-Pref', true, true);"/>
</hbox>
<separator class="thin"/>
<hbox align="center">
<label value="&label.background.repeatdesc;"></label>
<menulist id="backgroundRepeat-Pref" value="0" height="25px">
<menupopup>
<menuitem label="&label.background.repeathoriz;" selected="true" value="0"/>
<menuitem label="&label.background.repeatvert;" value="1"/>
<menuitem label="&label.background.repeatboth;" value="2"/>
<menuitem label="&label.background.repeatnone;" value="3"/>
</menupopup>
</menulist>
<label value="&label.background.colordesc;"></label>
<textbox id="backgroundColor-Pref" value="eaeaea" height="25px"/>
</hbox>
<separator class="thin"/>
<label value="&label.background.notice;"></label>
</groupbox>
<separator height="20"/>
</prefpane>
<hbox id="ntkbuttons" flex="1" pack="end">
<button dlgtype="accept" id="newtabkingAcceptBtn" oncommand="savePrefs();window.close();" label="&newtabking.ok.label;" hidden="true"/>
<button dlgtype="cancel" id="newtabkingCancelBtn" oncommand="window.close();" label="&newtabking.cancel.label;" hidden="true"/>
</hbox>
<script type="application/x-javascript" src="chrome://newtabking/content/newtabking-options.js"/>
</prefwindow>